package com.demo2do.fms.scheduler.dao.fms;

import java.util.List;
import java.util.Map;

import org.springframework.jdbc.core.RowMapper;
import org.springframework.stereotype.Repository;

import com.demo2do.core.persistence.GenericJdbcSupport;

/**
 *
 * @author Ark
 *
 */
@Repository("fmsJdbcSupport")
public class FmsJdbcSupport extends GenericJdbcSupport {

    /**
     * @param sentence
     * @param parameters
     * @param rowMapper
     * @return
     */
    public List<String[]> queryForList(String sentence, Map<String, Object> parameters, RowMapper<String[]> rowMapper) {
        return getJdbcTemplate().query(sentence, parameters, rowMapper);
    }
    
}
